import axios from "../utils/request.js";
import path from "./path.js";


const api = {

    getCheng: () => {
        // return axios.get(path.basePath + path.chengUrl)
    },
    // 登录
    sendLogin: (params) => {
        return axios.post(path.basePathUrl + path.loginUrl, params)
    },
    // 获取用户列表
    sendRegister: (params) => {
        return axios.post(
            path.basePathUrl + path.registerUrl,
            params)
    },
}

export default api;